<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <%
        int score = 90;
        pageContext.setAttribute("score",score);
    %>

    <c:choose>
        <c:when test="${pageScope.score >=90 and pageScope.score <= 100}">666</c:when>
        <c:when test="${pageScope.score >=60 and pageScope.score <= 90}">及格</c:when>
        <c:when test="${pageScope.score >=0 and pageScope.score <= 60}">不及格</c:when>
        <c:otherwise>成绩有误</c:otherwise>
    </c:choose>

</body>
</html>
